package cn.zlp.hrm;

import javafx.application.Application;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;

/**
 * @program: hrm-parent
 * @author: Mr.Zhang
 * @create: 2022-01-14 18:39
 **/
@SpringBootApplication
@MapperScan("cn.zlp.hrm.mapper")
@EnableGlobalMethodSecurity(prePostEnabled=true) //开启注解权限
public class App {
    public static void main(String[] args) {
        SpringApplication.run(App.class,args);
    }
}
